using System;
using System.Collections.Generic;
using System.Text;
using MCromwell.StaffIntranet;
using MCromwell.StaffIntranet.Task.Infrastructure.Logging;
using MCromwell.StaffIntranet.Core;
using MCromwell.StaffIntranet.Data.NHibernate;
using MCromwell.StaffIntranet.DependencyInjection;
using MCromwell.StaffIntranet.Task.Infrastructure;

namespace MCromwell.StaffIntranet.Task.Tasks
{
    
    public abstract class AbstractTask
    {
        private readonly object locker = new object();
      
        public AbstractTask()
        {
      
        }

        protected void Log(Exception exception)
        {
            IoC.Resolve<ILog>().Error(exception);
        }
    }
}
